const Limit = 20

const qualificationType = [{
    qualificationType: 'BUSINESS_LICENSE',
    title: '营业执照',
  },
  {
    qualificationType: 'MEDICAL_INSTITUTION_PRACTICING_LICENSE',
    title: '医疗机构执业许可证',
  },
  {
    qualificationType: 'MEDICAL_DEVICE_BUSINESS_RECORD_CERTIFICATE',
    title: '医疗器械经营备案凭证',
  },
  {
    qualificationType: 'MEDICAL_EQUIPMENT_BUSINESS_LICENSE',
    title: '医疗器械经营许可证',
  }
]

const SupplierQualificationType = [{
    qualificationType: 'BUSINESS_LICENSE',
    title: '营业执照',
  }, {
    qualificationType: 'INTERNET_CERTIFICATE',
    title: '医疗器械互联网销售备案证',
  },
  {
    qualificationType: 'MEDICAL_DEVICE_BUSINESS_RECORD_CERTIFICATE',
    title: '医疗器械经营备案凭证',
  },
  {
    qualificationType: 'MEDICAL_EQUIPMENT_BUSINESS_LICENSE',
    title: '医疗器械经营许可证',
  },
  {
    qualificationType: 'MEDICAL_DEVICE_PRODUCTION_LICENSE',
    title: '医疗器械生产许可证',
  },

  
]



const invoType = {
  NORMAL: '普通发票',
  ADDEDTAX: '增值税发票',
  NO: '个人'
}

const goodsStatus = {
  PUTON: '上架',
  PUTOff: '下架'
}

const GoodsType = {
  INSTRUMENT: '器械',
  HCONSUMABLES: '高值耗材',
  LCONSUMABLES: '低值耗材',
  REAGENT: '试剂',
  CONVENTION: '常规'
}



const orderStatus = {
  UNPAID: '待支付',
  UNDELIVER: '待发货',
  DELIVERED: '待收货',
  CANCELED: '已取消',
  COMPLETED: '已完成',
  PAYAUDIT: '待审核',
  PAYAUDIT: '支付待审核',
  PAYREJECT: '支付凭证未通过审核，请更换凭证',
  APPLY: '售后中',
  EXPIRED: '已失效'
}

const AfterSaleType = {
  AGREE_BACK: '同意退货',
  BACK_APPLY: '退货申请',
  REFUSE_BACK: '拒绝退货  ',
  DELIVERING: '待发货',
  DELIVERED: '已发货',
  RECEIVED: '已收货',
  REFUND: '退款',
  CONFIRM_RECEIPT: '已收款'
}

const AuditStatus = {
  PASS: '已通过',
  AUDITING: '待审核',
  REJECTED: '已驳回'
}

const cateStatus = {
  COMMIT: '审核中',
  REJECT: '拒绝',
  PASS: '已通过'
}

const orderTabList = [{
    label: '全部订单',
    name: 'ALLORDER'
  },
  {
    label: '待支付',
    name: 'UNPAID'
  },
  // {
  //   label: '待审核',
  //   name: 'PAYAUDIT'
  // },
  {
    label: '待发货',
    name: 'UNDELIVER'
  },
  {
    label: '待收货',
    name: 'DELIVERED'
  },
  {
    label: '已完成',
    name: 'COMPLETED'
  },
  {
    label: '售后',
    name: 'afterSaleFlag'
  }
]

export default {
  Limit,
  qualificationType,
  SupplierQualificationType,
  invoType,
  goodsStatus,
  GoodsType,
  AfterSaleType,
  orderStatus,
  AuditStatus,
  orderTabList,
  cateStatus
}
